#ifndef TILES_H
#define TILES_H
#include "SDL/SDL.h"
#include <string>

class Tiles
{
	public:
		Tiles();
		Tiles( const Tiles&);
		Tiles(const std::string file, const std::string type);
		~Tiles();
		Tiles& operator=(const Tiles&);
		bool operator==(const Tiles&) const;

		void borrar();
		void copiar( const Tiles& otra );
		void cargarImagen( std::string file );
		void render(SDL_Surface*, SDL_Rect*, const int& x, const int& y);
		const std::string type() const;
		const std::string file() const;

	private:
		std::string m_type;
		std::string m_file;
		SDL_Surface* m_image;
};
#endif
